import com.registtools.TalToolsApplication;
import com.registtools.service.impl.ChangeCouresServiceImpl;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

@RunWith(SpringRunner.class)
@SpringBootTest(classes = TalToolsApplication.class)
public class SpringBootTestBean {
    @Autowired
    ChangeCouresServiceImpl changeCouresService;
    @Test
    public void testCase1(){
        System.out.println("spring bean注入测试");
    }
}
